import {SocketIO} from "./SocketIO";
import {wxUtils} from "../wx/wxUtils";


export class SocketUtils {
  private static logicSocket: SocketIO = null;

  public static getLogicSocket(): SocketIO {
    if (!this.logicSocket) {
      // this.logicSocket = SocketIO.create("ws://192.168.218.76:7600")
      this.logicSocket = SocketIO.create("wss://est-api.shandw.com:7600")
    }
    return this.logicSocket;
  }
}